package com.yowasa.xiuxian.engine.battle.strategy;

import com.yowasa.xiuxian.entity.bo.battle.BattleContent;
import com.yowasa.xiuxian.entity.bo.battle.UserBattleContent;
import com.yowasa.xiuxian.entity.enums.InherentTiming;

import java.util.List;

/**
 * 永续策略
 */
public interface InherentStrategy extends BattleStrategy {

    //行动过程
    void action(UserBattleContent first, UserBattleContent second, BattleContent content);

    //判定是否触发
    boolean check(UserBattleContent user, BattleContent content);

    //行动时机
    List<InherentTiming> getTiming();
}
